package com.mizhiquan.pojo;

import java.util.Date;

public class Ansewer {
    private String answerid;

    private String questionid;

    private String answererid;

    private Integer likecount;

    private Integer dislikecount;

    private Integer favoritecount;

    private Integer sharecount;

    private Date answerTime;

    private String content;

    private Integer visible;

    public Ansewer(String answerid, String questionid, String answererid, Integer likecount, Integer dislikecount, Integer favoritecount, Integer sharecount, Date answerTime, String content, Integer visible) {
        this.answerid = answerid;
        this.questionid = questionid;
        this.answererid = answererid;
        this.likecount = likecount;
        this.dislikecount = dislikecount;
        this.favoritecount = favoritecount;
        this.sharecount = sharecount;
        this.answerTime = answerTime;
        this.content = content;
        this.visible = visible;
    }

    public Ansewer() {
        super();
    }

    public String getAnswerid() {
        return answerid;
    }

    public void setAnswerid(String answerid) {
        this.answerid = answerid == null ? null : answerid.trim();
    }

    public String getQuestionid() {
        return questionid;
    }

    public void setQuestionid(String questionid) {
        this.questionid = questionid == null ? null : questionid.trim();
    }

    public String getAnswererid() {
        return answererid;
    }

    public void setAnswererid(String answererid) {
        this.answererid = answererid == null ? null : answererid.trim();
    }

    public Integer getLikecount() {
        return likecount;
    }

    public void setLikecount(Integer likecount) {
        this.likecount = likecount;
    }

    public Integer getDislikecount() {
        return dislikecount;
    }

    public void setDislikecount(Integer dislikecount) {
        this.dislikecount = dislikecount;
    }

    public Integer getFavoritecount() {
        return favoritecount;
    }

    public void setFavoritecount(Integer favoritecount) {
        this.favoritecount = favoritecount;
    }

    public Integer getSharecount() {
        return sharecount;
    }

    public void setSharecount(Integer sharecount) {
        this.sharecount = sharecount;
    }

    public Date getAnswerTime() {
        return answerTime;
    }

    public void setAnswerTime(Date answerTime) {
        this.answerTime = answerTime;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public Integer getVisible() {
        return visible;
    }

    public void setVisible(Integer visible) {
        this.visible = visible;
    }
}